<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>读取文件夹</title>
</head>

<body>
  <div class="box">
    <input type="file" name="" id="">
  </div>
  <style>
    .box {
      width: 500px;
      height: 300px;
      background-color: rgb(44, 44, 44);
    }

    input[type="file"] {
      display: inline-block;
      width: 100%;
      height: 100%;
      /* visibility: hidden; */
    }
  </style>

  <script>

  </script>
</body>

</html>